Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.